<template>
    <TresGroup>
        <Suspense>
            <staticWater
                :position="[-4.582, 0, -1.401]"
                :rotation="[0, 0, 0]"
                :scale="[0.5, 1.5, 0.6]"
                name="静态水"
                uuid="6bec83bd-ef17-4fe7-8397-16985c460c51"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState0"
            />
        </Suspense>

        <Suspense>
            <fencePlus
                :position="[-0.065, 0, -1.555]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="围墙高级"
                uuid="c5b757d4-6f0d-4669-baee-dd989f6b7d21"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState1"
            />
        </Suspense>

        <Suspense>
            <particleBase
                :position="[-4.623, 0, -1.368]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="粒子底座"
                uuid="c0a948d8-f775-497d-bd4f-de5bcb7b78c3"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="9999"
                :visible="true"
                v-bind="eMeshState2"
            />
        </Suspense>

        <Suspense>
            <bannerLabel
                :position="[-1.356, 2.116, 2.606]"
                :rotation="[0, 0, 0]"
                :scale="[2, 0.8, 2]"
                name="精灵图文字"
                uuid="fa8e4041-ab68-467f-94e0-083417229540"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState3"
            />
        </Suspense>

        <Suspense>
            <rectangleGlow
                :position="[8.773, 0.122, -1.478]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="矩形渐变区域"
                uuid="1e55fb48-dab3-43a4-9f6a-19bc45d0ef3b"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="9999"
                :visible="true"
                v-bind="eMeshState4"
            />
        </Suspense>

        <Suspense>
            <bannerLabel
                :position="[4.773, 2.116, -6.151]"
                :rotation="[0, 0, 0]"
                :scale="[2, 0.8, 2]"
                name="精灵图文字"
                uuid="d8741f1c-933a-40ef-b92c-ca8e916378a8"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState5"
            />
        </Suspense>

        <Suspense>
            <flexiblePipe2
                :position="[5.6080000000000005, 2.124, -2.622]"
                :rotation="[1.6000000000000003, 0, 0]"
                :scale="[1, 1, 1]"
                name="伸缩管线2"
                uuid="26b3d5dd-2ac5-414c-9178-4dd88a1f1751"
                :castShadow="true"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState6"
            />
        </Suspense>

        <Suspense>
            <flexiblePipe2
                :position="[4.105, 0.31, -1.183]"
                :rotation="[3.141592653589793, 0.008407346410215549, -3.141592653589793]"
                :scale="[1, 1, 1]"
                name="伸缩管线2"
                uuid="89632a2f-47f2-4990-a4fd-2e6d61abce4d"
                :castShadow="true"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState7"
            />
        </Suspense>

        <Suspense>
            <flexiblePipe2
                :position="[-1.192, 0.32, 0.603]"
                :rotation="[0, -1.570000000000127, 0]"
                :scale="[1, 1, 1]"
                name="伸缩管线2"
                uuid="2f18637b-35cf-4ba1-8c81-fa1cdc7d9153"
                :castShadow="true"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState8"
            />
        </Suspense>

        <Suspense>
            <flexiblePipe2
                :position="[-2.133, 0.32, 0.299]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="伸缩管线2"
                uuid="ed6ab873-03b7-49f8-a95b-d83f98e2f28b"
                :castShadow="true"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState9"
            />
        </Suspense>

        <Suspense>
            <flexiblePipe2
                :position="[1.877, 0.31, -1.379]"
                :rotation="[3.141592653589793, -1.5615926535897844, 3.141592653589793]"
                :scale="[1, 1, 1]"
                name="伸缩管线2"
                uuid="623e74ce-36ef-4532-b7f0-95e0a5480081"
                :castShadow="true"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState10"
            />
        </Suspense>

        <Suspense>
            <bannerLabel
                :position="[8.895, 2.116, -1.2770000000000001]"
                :rotation="[0, 0, 0]"
                :scale="[2, 0.8, 2]"
                name="精灵图文字"
                uuid="34ef78a4-0d6a-498a-984c-34022b48709e"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState11"
            />
        </Suspense>

        <Suspense>
            <bannerLabel
                :position="[-4.793, 2.116, -1.2770000000000001]"
                :rotation="[0, 0, 0]"
                :scale="[2, 0.8, 2]"
                name="精灵图文字"
                uuid="dcf10a77-fcfd-4beb-8b1b-6819adba6fa4"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState12"
            />
        </Suspense>

        <Suspense>
            <reflectorRoundedBox
                :position="[-3.1790000000000003, 0.271, -1.154]"
                :rotation="[0, 1.5600000000000211, 0]"
                :scale="[1, 1, 1]"
                name="RoundedBox镜面"
                uuid="e00355b5-9633-4f6a-8ffb-0d18d6bfce99"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState13"
            />
        </Suspense>

        <Suspense>
            <reflectorRoundedBox
                :position="[6.982, 0.271, -1.316]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="RoundedBox镜面"
                uuid="4e288fca-4920-430a-9dc6-ee8e37246f98"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState14"
            />
        </Suspense>

        <Suspense>
            <reflectorRoundedBox
                :position="[4.15, 0.271, -4.9350000000000005]"
                :rotation="[0, 1.5600000000000211, 0]"
                :scale="[1, 1, 1]"
                name="RoundedBox镜面"
                uuid="be8588c3-4cc0-4f90-b644-96289e313577"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState15"
            />
        </Suspense>

        <Suspense>
            <reflectorRoundedBox
                :position="[11.318, 0.029, -1.369]"
                :rotation="[0, 0, 0]"
                :scale="[1, 1, 1]"
                name="RoundedBox镜面"
                uuid="ebb24af5-7c7c-4f8d-b09d-8ac04296026c"
                :castShadow="false"
                :receiveShadow="false"
                :renderOrder="0"
                :visible="true"
                v-bind="eMeshState16"
            />
        </Suspense>
    </TresGroup>
</template>

<script setup lang="ts">
import { staticWater } from 'PLS/water'
import { fencePlus, rectangleGlow } from 'PLS/digitalCity'
import { particleBase, reflectorRoundedBox } from 'PLS/floor'
import { bannerLabel } from 'PLS/UIdemo'
import { flexiblePipe2 } from 'PLS/industry4'

const eMeshState0 = { waterColor: '#A6A6A6', metalness: 0.64, roughness: 0 }

const eMeshState1 = { width: 2.909, height: 1.223, depth: 2.698, color: '#4F4F4F', opacity: 0.9, num: 4, thickness: 0.09, speed: 0.08, room: 0.44 }

const eMeshState2 = { speed: -0.04, randomness: 0.45, count: 124, size: 0.08, color: '#FFFFFF', areaX: 2.4, areaY: 0.9, areaZ: 2.6, opacity: 0.88 }

const eMeshState3 = {
    isSprite: true,
    text: '废水再利用',
    fontSize: 48,
    fontColor: '#000000',
    backgroundColor: '#EAE9E9B8',
    padding: { y: 35, x: 26 },
    align: 'center-bottom',
    scaleFactor: 0.022,
    borderColor: '#000000',
    borderWidth: 1,
    borderRadius: 2,
    dpi: 3.4,
}

const eMeshState4 = { w: 3.821, h: 7.753, pColor: '#DEDEDE', gradientWidth: 0.69, glowWidth: 0.82, nNumber: 11, lineWidth: 0.03, lColor: '#090909' }

const eMeshState5 = {
    isSprite: true,
    text: '混合油处理',
    fontSize: 48,
    fontColor: '#000000',
    backgroundColor: '#F1EFEFC7',
    padding: { y: 35, x: 26 },
    align: 'center-bottom',
    scaleFactor: 0.022,
    borderColor: '#000000',
    borderWidth: 1,
    borderRadius: 2,
    dpi: 3.4,
}

const eMeshState6 = {
    color: '#000000',
    uGapColor: '#666666',
    radius: 0.044,
    bodyLength: 2,
    headLength: 0,
    tailLength: 0,
    headAngle: 0,
    radialSegments: 13,
    tailAngle: 0,
    filletRadius: 0.3,
    speed: 0.01,
    metalness: 0.22,
    roughness: 0.94,
    reflectivity: 0.38,
    ior: 1.38,
    uStripeScale: 0,
}

const eMeshState7 = {
    color: '#3759E1',
    uGapColor: '#FFF3F3',
    radius: 0.058,
    bodyLength: 7.6,
    headLength: 0,
    tailLength: 0,
    headAngle: 0,
    radialSegments: 16,
    tailAngle: 0,
    filletRadius: 0.3,
    speed: -0.013,
    metalness: 0.33,
    roughness: 0.39,
    reflectivity: 0.95,
    ior: 2.33,
    uStripeScale: 13.8,
}

const eMeshState8 = {
    color: '#FEFEFE',
    uGapColor: '#767676',
    radius: 0.058,
    bodyLength: 1,
    headLength: 1,
    tailLength: 5.5,
    headAngle: 0,
    radialSegments: 16,
    tailAngle: 181,
    filletRadius: 0.3,
    speed: 0.01,
    metalness: 0.3,
    roughness: 0.5,
    reflectivity: 0.5,
    ior: 1.5,
    uStripeScale: 9.9,
}

const eMeshState9 = {
    color: '#FFFFFF',
    uGapColor: '#767676',
    radius: 0.058,
    bodyLength: 2.4,
    headLength: 0,
    tailLength: 2.9,
    headAngle: 0,
    radialSegments: 16,
    tailAngle: 181,
    filletRadius: 0.3,
    speed: -0.011,
    metalness: 0.3,
    roughness: 0.52,
    reflectivity: 0.5,
    ior: 1.5,
    uStripeScale: 6.2,
}

const eMeshState10 = {
    color: '#3759E1',
    uGapColor: '#FFF3F3',
    radius: 0.058,
    bodyLength: 10.3,
    headLength: 0,
    tailLength: 0,
    headAngle: 0,
    radialSegments: 16,
    tailAngle: 0,
    filletRadius: 0.3,
    speed: -0.013,
    metalness: 0.23,
    roughness: 0.43,
    reflectivity: 0.95,
    ior: 2.33,
    uStripeScale: 13.8,
}

const eMeshState11 = {
    isSprite: true,
    text: '原油储罐区',
    fontSize: 48,
    fontColor: '#000000',
    backgroundColor: '#F1EFEFC7',
    padding: { y: 35, x: 26 },
    align: 'center-bottom',
    scaleFactor: 0.022,
    borderColor: '#000000',
    borderWidth: 1,
    borderRadius: 2,
    dpi: 3.4,
}

const eMeshState12 = {
    isSprite: true,
    text: '污水处理区',
    fontSize: 48,
    fontColor: '#000000',
    backgroundColor: '#EAE9E9B8',
    padding: { y: 35, x: 26 },
    align: 'center-bottom',
    scaleFactor: 0.022,
    borderColor: '#000000',
    borderWidth: 1,
    borderRadius: 2,
    dpi: 3.4,
}

const eMeshState13 = {
    color: '#5E5E5E',
    width: 0.93,
    height: 0.44,
    depth: 0.22,
    radius: 0.03,
    roughness: 0.8,
    metalness: 0.35,
    reflectorOffset: -1,
    mix: 0,
    sharpMix: 0,
}

const eMeshState14 = {
    color: '#5E5E5E',
    width: 0.22,
    height: 0.36,
    depth: 0.44,
    radius: 0.03,
    roughness: 0.8,
    metalness: 0.35,
    reflectorOffset: -1,
    mix: 0,
    sharpMix: 0,
}

const eMeshState15 = {
    color: '#5E5E5E',
    width: 0.22,
    height: 0.36,
    depth: 0.44,
    radius: 0.03,
    roughness: 0.8,
    metalness: 0.35,
    reflectorOffset: -1,
    mix: 0,
    sharpMix: 0,
}

const eMeshState16 = {
    color: '#585555',
    width: 1,
    height: 0.08,
    depth: 7.95,
    radius: 0.01,
    roughness: 0.95,
    metalness: 0.21,
    reflectorOffset: -1,
    mix: 0,
    sharpMix: 0,
}
</script>
